package cn.itcast.ssm.dao;

import cn.itcast.ssm.domain.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ITravellerDao {

    @Select("select T.id, T.name, T.sex, T.phoneNum, T.credentialsType, T.credentialsNum, T.travellerType  from order_traveller OT, traveller T where orderId=#{oid} and OT.travellerId=T.id")
    List<Traveller> findByOid(String oid);
}
